function URL(){
    var siteURL2 = $('body').data('siteurl');
    return siteURL2;
}
function setNewToken(){
    var name, field;
    var imput = $('#token').attr('cookie');
    var form = $('form').attr('cookie');
    
    if(imput){
        name = imput;
        field = $('#token');
    } else if (form){
        name = form;
        field = $('form').find('input[type=hidden]').filter(':first');
        
    }
    field.val($.cookie(name));
}